package com.it.whitejotterapi.entity;

import java.util.Date;

/**
 * @Author: 羡羡
 * @Date: 2022/05/23/10:53
 */
public class SysArticle {
    public int id;
    public String articleTitle;
    public String articleContentHtml;
    public String articleContentMd;
    public String articleAbstract;
    public String articleCover;
    public Date createTime;
    public int isDelete;
    public String username;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getArticleTitle() {
        return articleTitle;
    }

    public void setArticleTitle(String articleTitle) {
        this.articleTitle = articleTitle;
    }

    public String getArticleContentHtml() {
        return articleContentHtml;
    }

    public void setArticleContentHtml(String articleContentHtml) {
        this.articleContentHtml = articleContentHtml;
    }

    public String getArticleContentMd() {
        return articleContentMd;
    }

    public void setArticleContentMd(String articleContentMd) {
        this.articleContentMd = articleContentMd;
    }

    public String getArticleAbstract() {
        return articleAbstract;
    }

    public void setArticleAbstract(String articleAbstract) {
        this.articleAbstract = articleAbstract;
    }

    public String getArticleCover() {
        return articleCover;
    }

    public void setArticleCover(String articleCover) {
        this.articleCover = articleCover;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public int getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(int isDelete) {
        this.isDelete = isDelete;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public SysArticle() {
    }

    public SysArticle(String articleTitle, String articleContentHtml, String articleContentMd, String articleAbstract, String articleCover, Date createTime, int isDelete, String username) {
        this.articleTitle = articleTitle;
        this.articleContentHtml = articleContentHtml;
        this.articleContentMd = articleContentMd;
        this.articleAbstract = articleAbstract;
        this.articleCover = articleCover;
        this.createTime = createTime;
        this.isDelete = isDelete;
        this.username = username;
    }

    public SysArticle(int id, String articleTitle, String articleContentHtml, String articleContentMd, String articleAbstract, String articleCover, Date createTime, int isDelete, String username) {
        this.id = id;
        this.articleTitle = articleTitle;
        this.articleContentHtml = articleContentHtml;
        this.articleContentMd = articleContentMd;
        this.articleAbstract = articleAbstract;
        this.articleCover = articleCover;
        this.createTime = createTime;
        this.isDelete = isDelete;
        this.username = username;
    }

    @Override
    public String toString() {
        return "SysArticle{" +
                "id=" + id +
                ", articleTitle='" + articleTitle + '\'' +
                ", articleContentHtml='" + articleContentHtml + '\'' +
                ", articleContentMd='" + articleContentMd + '\'' +
                ", articleAbstract='" + articleAbstract + '\'' +
                ", articleCover='" + articleCover + '\'' +
                ", createTime=" + createTime +
                ", isDelete=" + isDelete +
                ", username='" + username + '\'' +
                '}';
    }
}
